package com.shoe.mapper;

import com.shoe.vo.AdminAftersaleVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AdminAftersaleMapper {

    List<AdminAftersaleVo> selectAdminAftersaleByAftsaleIdPag(@Param("pag") Integer page, @Param("lmi") Integer limit, @Param("aftsolve") String aftsaleSolve);

    List<AdminAftersaleVo> selectAdminAftersaleByAftsaleId(@Param("aftsolve") String aftsaleSolve);

    List<AdminAftersaleVo> seLuiAaftAll();

    List<AdminAftersaleVo> seLuiAaftPage(@Param("pag") Integer page, @Param("lmi") Integer limit);

    int updataAdminAftersale(Integer aftSaleId, String aftSaleDate, String aftSaleState, String aftSaleReq);

    int deleteAdminAftersale(Integer aftSaleId);
}
